package com.threemeals.common.pojo;

import java.io.Serializable;
import java.util.List;
 /**
  * 分页辅助类
 * <p>版权所有:(C)2016-2018 达农保险</p>
 * @作者: 阳建
 * @日期: 2017年5月11日 下午4:49:51
 * @描述: [PageResult]
 * @param <T>
  */
public class PageResult<T> implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private long total;
	private List<T> rows;
	private long current;
	
	 
	
	public PageResult(long total, List<T> rows, long current) {
		super();
		this.total = total;
		this.rows = rows;
		this.current = current;
	}
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	public long getCurrent() {
		return current;
	}
	public void setCurrent(long current) {
		this.current = current;
	}
	
	
	
}
